import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppWebService } from './app.service';
import { AppWebController } from './app.controller';
import { Post } from '../adminPost/entity/post.entity';
import { Cover } from '../adminPost/entity/cover.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Post, Cover])],
  providers: [AppWebService],
  exports: [AppWebService],
  controllers: [AppWebController],
})
export class AppWebModule {}
